import time
from core.spider.DriveWorker import DriveWorker


class ReplyWorker(DriveWorker):

    def __init__(self, easyTaskContext):
        self.easyTaskContext = easyTaskContext

    def handler(self, driveImplCotext,ctsToken):
        print('我是回复者，执行了')
        number = 1
        while number < 10:
            number = number + 1
            print('我只执行：')
            print(number)
            time.sleep(1)